﻿package mortal.game.view.task.view
{
    import flash.text.*;
    import mortal.common.*;
    import mortal.common.global.*;
    import mortal.game.resource.*;
    import mortal.game.view.common.*;

    public class TaskRewardMiddleItem extends TaskRewardBaseItem
    {

        public function TaskRewardMiddleItem()
        {
            return;
        }// end function

        override protected function createDisposedChildrenImpl() : void
        {
            super.createDisposedChildrenImpl();
            _item = UIFactory.baseItem(0, 0, 40, 40, this);
            _item.setItemStyle(40, ImagesConst.shortcutItemBg, 2, 2);
            _item.isDragAble = false;
            _item.isDropAble = false;
            _item.isThrowAble = false;
            var _loc_1:* = GlobalStyle.textFormatPutong;
            _loc_1.size = 12;
            _loc_1.align = TextFormatAlign.CENTER;
            _loc_1.letterSpacing = 1;
            _loc_1.color = 16376833;
            _num = UIFactory.gTextField("", 0, 42, 44, 25, this, _loc_1);
            return;
        }// end function

        public function setNumY(param1:int) : void
        {
            _num.y = param1;
            return;
        }// end function

        override public function get width() : Number
        {
            return 45;
        }// end function

    }
}
